<!DOCTYPE html>
<html lang="zh-cn">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<meta name="renderer" content="webkit">
<title></title>
<link rel="stylesheet" href="/admin/css/pintuer.css">
<link rel="stylesheet" href="/admin/css/admin.css">
<script src="/admin/js/jquery.js"></script>
<script src="/admin/js/pintuer.js"></script>
</head>
<body>
<form method="get" id="listform" action="">
	<input type="hidden" name="p" value="1">
  <div class="panel admin-panel">
    <div class="panel-head"><strong class="icon-reorder"> 文章列表</strong> <a href="" style="float:right; display:none;"></a></div>
    <div class="padding border-bottom">
      <ul class="search" style="padding-left:10px;">
        <li> <a class="button border-main icon-plus-square-o" href="{:U('Admin/Arts/artsAdd')}"> 添加文章</a> </li>
        <li>搜索：</li>
       

        <li>
		用户等级
          <select name="is_top" class="input" onchange="changesearch()"  style="width:80px; line-height:17px;display:inline-block">
            <option value="1">从高到低</option>
            <option value="0">从低到高</option>
          </select>
          &nbsp;&nbsp;
          </li>  <li>
         煤球
          <select name="is_top" class="input" onchange="changesearch()"  style="width:80px; line-height:17px;display:inline-block">
            <option value="1">从高到低</option>
            <option value="0">从低到高</option>
          </select>
          &nbsp;&nbsp;
          </li>


        <li>
          <input type="text" placeholder="请输入搜索关键字" name="keyword" class="input" style="width:250px; line-height:17px;display:inline-block" />
          <input class="button border-main icon-search" type="submit" value="搜索"></li>
      </ul>
    </div>
    <table class="table table-hover text-center">
      <tr>
        <th width="100" style="text-align:left; padding-left:20px;">ID</th>
        <th>用户名</th>
       <!--  <th>图片</th> -->
        <th>用户等级</th>    
        <th>煤球数量</th>    
        <th>邮箱</th>    
        <th width="10%">注册时间</th>
        <th width="310">操作</th>
      </tr>
      <volist name="list" id="vo">

 @foreach($user as $user)
  @foreach($user_exts as $exts)
    @foreach($user_games as $games)
      @if($user->user_id == $exts->uid && $user->user_id == $games->uid)
        <tr>
          <td style="text-align:left; padding-left:20px;"><input type="checkbox" name="id[]" value="" />
           {{$user->user_id}}</td>
			<td>{{$user->user_name}}</td>
          <!-- <td width="10%"><img src="{$goods['goods_img1']}" alt="" width="70" height="50" /></td> -->
          <td>{{$games->user_level}}</td>  
          <td>{{$games->user_meiqiu}}</td>
          <td>{{$exts->user_email}}</td>
          <td>{{date( 'Y/m/d' , $user->regtime)}}</td>
          <td><div class="button-group"> <a class="button border-main" href="{{url('admin_user/edit',['user_id'=>$user->user_id])}}"><span class="icon-edit">
          </span> 查看详情</a> 
          @if($user->user_status == 1 || $user->user_status == 2)
          <a class="button border-red" href="{{url('admin_user/fenghao',['user_id'=>$user->user_id])}}">
          <span class="icon-edit"></span> 封停账号</a> 
          @elseif($user->user_status == 3)
          <a class="button border-main" href="{{url('admin_user/jiefeng',['user_id'=>$user->user_id])}}">
          <span class="icon-edit"></span> 解封账号</a> 
          @endif
          <a onclick="return confirm('确定删除此会员吗?')" class="button border-red" href="{{url('admin_user/del',['user_id'=>$user->user_id])}}"><span class="icon-trash-o">
          </span> 删除</a></div></td>
        </tr>
   		@endif
    @endforeach
  @endforeach
@endforeach
     
      
    </table>
  </div>
</form>
			
        <!-- <div class="pagelist" style="width:90%;">    page   </div> -->
     


</body>
</html>